<?php /* Smarty version 2.6.26, created on 2018-07-20 02:34:03
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/admin%5Ctemplates/distribute/settlement.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
<div class="nav"><span>分销会员</span></div>
<div class="explain">
	<div class="name"><span>操作提示</span></div>
	<div class="con">
		<p>推广者佣金结算，结算为月结算，正常为7天之后方可结算，由于涉及到退货等因素，7天为合适的结算周期。</p>  
		<p>结算只能结算上一月的，不能对当月的进行结算。</p>
	</div> 
</div>
<div class="main"> 
	<table width="100%" class="ltable">
	  	<thead>
		  	<tr>
				<th width="80">编号</th> 
				<th width="100">时间</th> 
				<th width="100">账户佣金</th> 
				<th width="100">用户编号</th> 
				<th width="100">推广人</th> 
				<th width="100">结算状态</th> 
				<th width="100">操作</th> 
				<th></th>
		  	</tr>
	  	</thead>
		<tbody>
<?php if ($this->_tpl_vars['data']['list']): ?>
	<?php $_from = $this->_tpl_vars['data']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?>
		<tr>
			<td><?php echo $this->_tpl_vars['i']['id']; ?>
</td>  
			<td><?php echo $this->_tpl_vars['i']['settle_month']; ?>
</td>
			<td><?php echo $this->_tpl_vars['i']['price']; ?>
</td>
			<td><?php echo $this->_tpl_vars['i']['uid']; ?>
</td>
			<td><?php echo $this->_tpl_vars['i']['nick']; ?>
</td> 
			<td><?php if ($this->_tpl_vars['i']['settle_status']): ?>已结算<?php else: ?><span style="color:#FF0000; font-weight:bold;">未结算</span><?php endif; ?></td> 
			<td><a href="?m=distribute&a=settlement_do&id=<?php echo $this->_tpl_vars['i']['id']; ?>
" class="edit">编辑</a></td>
			<td></td>
	  	</tr>
	<?php endforeach; endif; unset($_from); ?>
		<?php if ($this->_tpl_vars['data']['page']): ?><tr><td colspan="8"><div class="page"><?php echo $this->_tpl_vars['page']; ?>
</div></td></tr><?php endif; ?>	
<?php else: ?>
	  	<tr>
			<td colspan="8">还没有数据</td>
	  	</tr>
<?php endif; ?>
		</tbody> 
	</table>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 